package com.jiyun.springboot_user;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("com.jiyun.springboot_user.dao")
@EnableSwagger2     //开启swagger的注解
@EnableScheduling   //开启定时任务，spring自带
/*@EnableDiscoveryClient  //开启NaCos*/
public class SpringbootUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootUserApplication.class, args);
    }

}
